package com.guanghua.brick.html.ajax;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AJAXResult {
	//需要转换的Object对应的key
	String value();
	
	//转换的类型
	AJAXResultType result() default AJAXResultType.STRING;
	
	//结果名称
	String resultName() default "AJAXResult";
}
